package cn.wolfcode.service;

import cn.wolfcode.domain.SystemDictionary;
import cn.wolfcode.domain.SystemDictionaryItem;
import cn.wolfcode.qo.QueryObject;
import cn.wolfcode.qo.SystemDictionaryItemQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ISystemDictionaryItemService {
    void deleteById(Long id);

    void insert(SystemDictionaryItem systemDictionaryItem);

    SystemDictionaryItem selectById(Long id);

    List<SystemDictionaryItem> selectAll();

    void updateById(SystemDictionaryItem systemDictionaryItem);

    PageInfo<SystemDictionaryItem> query(SystemDictionaryItemQueryObject qo);

    List<SystemDictionaryItem> selectByParentId(Long parentId);

    List<SystemDictionaryItem> selectByParentSn(String sn);
}
